<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>信息管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/js/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/js/layuiadmin/style/admin.css" media="all">
</head>
<body>

<div class="layui-card">
    <div class="layui-card-header">查看留言-</div>
    <div class="layui-card-body">
        <form class="layui-form" action="{:U('/Admin/Message/edit')}" method="post"  lay-filter="component-form-element">
            <div class="layui-row layui-col-space10 layui-form-item">
                <div class="layui-col-lg12">
                    <label class="layui-form-label">类型：</label>
                    <div class="layui-input-block">
                        {$article.typename}
                        <input type="hidden" name="id" value="{$article.id}">
                    </div>
                </div>
            </div>
            <div class="layui-row layui-col-space10 layui-form-item">
                <div class="layui-col-lg12">
                    <label class="layui-form-label">姓名：</label>
                    <div class="layui-input-block">
                        {$article.name}
                    </div>
                </div>
            </div>
            <div class="layui-row layui-col-space10 layui-form-item">
                <div class="layui-col-lg12">
                    <label class="layui-form-label">电话：</label>
                    <div class="layui-input-block">
                        {$article.tel}
                    </div>
                </div>
            </div>
            <div class="layui-row layui-col-space10 layui-form-item">
                <div class="layui-col-lg12">
                    <label class="layui-form-label">内容：</label>
                    <div class="layui-input-block">
                        {$article.content}
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">当前状态：</label>
                <div class="layui-input-block">
                    <input type="radio" name="status" value="0" title="审核中" checked="">
                    <div class="layui-unselect layui-form-radio <if condition="$article.status eq 0"> layui-form-radioed</if>"><i class="layui-anim layui-icon"></i><div>审核中</div></div>
                    <input type="radio" name="status" value="1" title="已处理">
                    <div class="layui-unselect layui-form-radio   <if condition="$article.status eq 1"> layui-form-radioed</if>"><i class="layui-anim layui-icon"></i><div>已处理</div></div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">备注：</label>
                <div class="layui-input-block">
                    <textarea name="remarks" placeholder="" class="layui-textarea">{$article.remarks}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit="" lay-filter="component-form-element">立即提交</button>
                    <a class="layui-btn layui-btn-primary" href=JavaScript:(location.href="{:U('/Admin/Message/')}"); >返回</a>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="/js/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '/js/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index','table'], function(){
        var $ = layui.$,table = layui.table;



    });
</script>

